package encore.portal.container.services;

import java.util.Iterator;

import encore.portal.container.PortletContainerException;
import encore.portal.container.PortletRegistryListener;
import encore.portal.portlet.models.PortletApplicationDefinition;
import encore.portal.portlet.models.PortletDefinition;

public interface PortletRegistryService {
	
	public Iterator<String> getRegisteredPortletApplicationNames();
	
	public PortletApplicationDefinition getPortletApplicationDefinition(String applicationName)throws PortletContainerException;

	public PortletDefinition  gePortlet(String applicationName,String portletName)throws PortletContainerException;
	
	public void addPortletRegistryListener(PortletRegistryListener listener);
	
	public void removePortletRegistryListener(PortletRegistryListener listener);
}
